<template>
    <div>
        <div id="tou">
            <table id="daohang">
                <tr>
                    <th><router-link to="/user/merchandise_control/grounding_goods">发布商品</router-link></th>
                    <th><router-link to="/user/merchandise_control/my_goods">我的商品</router-link></th>
                    <th><router-link to="/user/merchandise_control/order_list">订单列表</router-link></th>
                    <th><router-link to="/user/merchandise_control/all_order_list">所有订单</router-link></th>
                </tr>
            </table>
        </div>
        <div id="neirong">
            <router-view />
        </div>
    </div>
</template>
                  
<script>


export default {
    data() {
        return {
            msg: '商品管理2'
        }
    },
    methods: {

    },
    watch: {
        // 'res.firstname'(value) {
        //     setTimeout(() => {
        //         this.fullname = value + '-' + this.res.lastname
        //     }, 1000);

        // },
        // 'res.lastname'(value) {
        //     this.fullname = this.res.firstname + '-' + value;
        //     console.log('ha');
        // }
    },
}
</script>
  
  <!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="scss" scoped>
#tou {
    width: 99%;
    margin: 2px auto;
    border: 1px solid red;

    #daohang {
        width: 100%;
        // border: 1px solid black;
        border-collapse: collapse;

        th {
            // border: 1px solid black;
            font-size: 30px;
            height: 40px;
            padding-top: 10px;

            a {
                color: rgb(14, 13, 13);
                text-decoration: none;
            }

            a:hover {
                /* 鼠标移到链接上 */
                color: #0bc2d6;
                // text-decoration: underline;
            }

            a:active {
                /* 正在点击的链接 */
                color: #03031f;
                // text-decoration: underline;
            }
        }
    }
}
#neirong{
    margin-top: 2%;
}
</style>
                                                                          